<!DOCTYPE html>

<html>
    <head>
        <meta charset="UTF-8">
        <title>首页</title>
        <link rel="stylesheet" href="/home.css">
    </head>
    <body>

        <div class="wrapper">
            <h3>使用GET方式提交表单</h3>
            <form action="http://localhost:8080/sign/up/1/male" method="get">
                <div class="row">
                    <label for="username">请输入用户名</label>
                    <input type="text" name="username" value="laowang" id="username" placeholder="请输入用户名">
                </div>
                <div class="row">
                    <label for="password">请输入密码</label>
                    <input type="password" name="password" value="hellolaowang" id="password">
                </div>
                <div class="row">
                    <label for="confirm">请确认密码</label>
                    <input type="password" name="confirm" value="hellolaowang" id="confirm">
                </div>
                <div class="row">
                    <button type="reset">重置</button>
                    <button type="submit">提交</button>
                </div>
            </form>
        </div>

        <div class="wrapper">
            <h3>使用POST方式提交表单</h3>
            <form action="http://localhost:8080/sign/up/2/female" method="post">
                <div class="row">
                    <label for="username">请输入用户名</label>
                    <input type="text" name="username" value="laowang" id="username" placeholder="请输入用户名">
                </div>
                <div class="row">
                    <label for="password">请输入密码</label>
                    <input type="password" name="password" value="hellolaowang" id="password">
                </div>
                <div class="row">
                    <label for="confirm">请确认密码</label>
                    <input type="password" name="confirm" value="hellolaowang" id="confirm">
                </div>
                <div class="row">
                    <button type="reset">重置</button>
                    <button type="submit">提交</button>
                </div>
            </form>
        </div>
        
    </body>
</html>